package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品配置
 * </p>
 *
 * @author baiqiang
 * @since 2020-07-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_goods_config")
@ApiModel(value="CrmGoodsConfig对象", description="商品配置")
public class CrmGoodsConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    @TableField("goods_id")
    private Integer goodsId;

    @ApiModelProperty(value = "年限")
    @TableField("years")
    private Integer years;

    @ApiModelProperty(value = "折扣率")
    @TableField("discount_rate")
    private Integer discountRate;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

}
